import java.util.List;

import sn.Net;
import sn.reader.TextFileReader;


public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
//		Net nn = new Net(2, new HiddenLayer[]{new HiddenLayer(3, new StepFunction(0.5))}, 2, new StepFunction(0.5));
//		nn.train(new Double[]{1d,1d}, new Double[]{1d,1d});
		
		Net tn = new TextFileReader().readFile("C:\\weights.txt");
		List<Double> out = tn.compute(1.,1.);
		for (Double d : out){
			System.out.println(d);
		}
		System.out.println(tn);
	}

}
